var PlayerState = function (opts) {
    this.id = opts.id || 0;
    this.created_at = opts.created_at;
    this.updated_at = opts.updated_at;
    this.name = opts.name || '';
    this.state = opts.state || PlayerState.STATE.INITIAL;
    this.extra = opts.extra || '';
};
PlayerState.STATE = {
    INITIAL: 0,
    AFTER_LOGIN: 101,
    IN_PREPARED_ROOM: 201,
    BEFORE_KILLER_GAME: 301,
    IN_KILLER_GAME: 302
};
module.exports = PlayerState;